package com.future.mapper;

import com.future.entity.Monster;

import java.util.Collection;
import java.util.List;
import java.util.Map;

/**
 * <P>
 *
 * </p>
 *
 * @author yinhao
 * @version 1.0
 * @since 2024/9/9 13:35
 */
public interface MonsterMapper {

    List<Monster> findMonsterByAge(Integer age);

    List<Monster> findMonsterByIdAndName(Monster monster);

    List<Monster> findMonsterByNameOrIdOrSalary_Choose(Map<String, Object> map);

    List<Monster> findMonsterById_Foreach(Map<String, Object> map);

    List<Monster> findMonsterById_Foreach_ParameterList(Collection<Integer> ids);

    List<Monster> findMonsterByNameAndAge_Trim(Map<String, Object> map);

    List<Monster> findMonsterByNameAndAge_Trim2(Map<String, Object> map);

    void updateMonster(Monster monster);
}
